Rails.application.routes.draw do
  devise_for :users do
  end

  resources :blogs do
    collection do
      get :me_blogs
    end
  end
  resources :access_logs do
    collection do
      get :me_access_log
    end
  end
  resources :comments
  root to: "blogs#index"
  # For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
end
